package com.sneakxy.mybase4j.platform.provider;

import java.util.List;

import com.sneakxy.mybase4j.base.provider.IBaseProvider;

import com.sneakxy.mybase4j.platform.beans.RolePerm;
import com.sneakxy.mybase4j.platform.beans.RolePermId;

/**
 * 
 * @author 潜行的青衣
 * @see
 */
public interface IRolePermProvider extends IBaseProvider<RolePerm, RolePermId> {

	public List<String> findPermissions(List<String> roles);
	
	public int deleteByPermId(String permId);
	
	public List<String> findPermissions(String roleId);
	
	public int deleteByRoleId(String roleId);
	
}
